<template>
  <div>
    demo1
  </div>
</template>

<script>
import {getList} from '@/api/demo'
import {ssrCompileToFunctions} from "vue-template-compiler";

export default {
  name: "Demo1",
  methods: {
    listClass() {
      getList().then((res) => {
        console.log(res)
      }).catch(err => {
        console.log(err)
      })
    }
  },
  created() {
    this.listClass()
  }
}
</script>

<style scoped lang="scss">

</style>
